<weui-items>
  <weui-item *ngFor="let execution of values" (click)="detail(execution)">
    <div weui-start class="mr-3">
      <span *ngIf="execution?.status == 'created'">
        <div class="circle-text-checking">{{execution?.status | executionStatus}}</div>
      </span>
      <span *ngIf="execution?.status == 'correcting'">
        <div class="circle-text-correcting">{{execution?.status | executionStatus}}</div>
      </span>
      <span *ngIf="execution?.status == 'finished'">
        <div class="circle-text-finished">{{execution?.status | executionStatus}}</div>
      </span>
    </div>

    <div weui-content>
      <h2>{{execution?.checkTarget?.name}}</h2>
      <p>
        <i class="fa fa-file"></i>&nbsp; 报告数量 :
        <span class="weui-badge" style="margin-left: 5px;"> {{execution?.reports?.length}}</span>
      </p>
    </div>

    <div weui-last weui-note>
      <p>截止时间 : {{execution?.dueDate | date:'y-M-d'}}</p>
    </div>

  </weui-item>
</weui-items>
